home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 39
/
Aminet 39 (2000)(Schatztruhe)[!][Oct 2000].iso
/
Aminet
/
mus
/
play
/
DelfMPEG.lha
/
DelfMPEG
/
src
/
MP3_quantab.h
< prev
next >
Wrap
Text File
|
2000-07-27
|
5KB
|
272 lines
/*
** quantab - y=2^((x-210)/4)
** for DSP double precision mode: factor 2^(23+12)
*/
/*
max = (double)0x1000000;
val = pow( 2.0, ((double)i-210.0) * 0.25 ) * (double)(1<<12);
quantab[i*2] = (LONG)( val * 0.5 );
quantab[i*2+1] = (LONG)( fmod( ldexp(val,23) , max ) + 0.5 );
*/
static LONG quantab[2*256] =
{
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000000,
0x000000,0x000001,
0x000000,0x000001,
0x000000,0x000001,
0x000000,0x000001,
0x000000,0x000001,
0x000000,0x000001,
0x000000,0x000001,
0x000000,0x000002,
0x000000,0x000002,
0x000000,0x000002,
0x000000,0x000003,
0x000000,0x000003,
0x000000,0x000004,
0x000000,0x000005,
0x000000,0x000006,
0x000000,0x000007,
0x000000,0x000008,
0x000000,0x00000a,
0x000000,0x00000b,
0x000000,0x00000d,
0x000000,0x000010,
0x000000,0x000013,
0x000000,0x000017,
0x000000,0x00001b,
0x000000,0x000020,
0x000000,0x000026,
0x000000,0x00002d,
0x000000,0x000036,
0x000000,0x000040,
0x000000,0x00004c,
0x000000,0x00005b,
0x000000,0x00006c,
0x000000,0x000080,
0x000000,0x000098,
0x000000,0x0000b5,
0x000000,0x0000d7,
0x000000,0x000100,
0x000000,0x000130,
0x000000,0x00016a,
0x000000,0x0001af,
0x000000,0x000200,
0x000000,0x000261,
0x000000,0x0002d4,
0x000000,0x00035d,
0x000000,0x000400,
0x000000,0x0004c2,
0x000000,0x0005a8,
0x000000,0x0006ba,
0x000000,0x000800,
0x000000,0x000983,
0x000000,0x000b50,
0x000000,0x000d74,
0x000000,0x001000,
0x000000,0x001307,
0x000000,0x0016a1,
0x000000,0x001ae9,
0x000000,0x002000,
0x000000,0x00260e,
0x000000,0x002d41,
0x000000,0x0035d1,
0x000000,0x004000,
0x000000,0x004c1c,
0x000000,0x005a82,
0x000000,0x006ba2,
0x000000,0x008000,
0x000000,0x009838,
0x000000,0x00b505,
0x000000,0x00d745,
0x000000,0x010000,
0x000000,0x013070,
0x000000,0x016a0a,
0x000000,0x01ae8a,
0x000000,0x020000,
0x000000,0x0260e0,
0x000000,0x02d414,
0x000000,0x035d14,
0x000000,0x040000,
0x000000,0x04c1c0,
0x000000,0x05a828,
0x000000,0x06ba28,
0x000000,0x080000,
0x000000,0x09837f,
0x000000,0x0b504f,
0x000000,0x0d7450,
0x000000,0x100000,
0x000000,0x1306fe,
0x000000,0x16a09e,
0x000000,0x1ae8a0,
0x000000,0x200000,
0x000000,0x260dfc,
0x000000,0x2d413d,
0x000000,0x35d13f,
0x000000,0x400000,
0x000000,0x4c1bf8,
0x000000,0x5a827a,
0x000000,0x6ba27e,
0x000000,0x800000,
0x000000,0x9837f0,
0x000000,0xb504f3,
0x000000,0xd744fd,
0x000001,0x000000,
0x000001,0x306fe1,
0x000001,0x6a09e6,
0x000001,0xae89fa,
0x000002,0x000000,
0x000002,0x60dfc1,
0x000002,0xd413cd,
0x000003,0x5d13f3,
0x000004,0x000000,
0x000004,0xc1bf83,
0x000005,0xa8279a,
0x000006,0xba27e6,
0x000008,0x000000,
0x000009,0x837f05,
0x00000b,0x504f33,
0x00000d,0x744fcd,
0x000010,0x000000,
0x000013,0x06fe0a,
0x000016,0xa09e66,
0x00001a,0xe89f99,
0x000020,0x000000,
0x000026,0x0dfc14,
0x00002d,0x413ccd,
0x000035,0xd13f33,
0x000040,0x000000,
0x00004c,0x1bf829,
0x00005a,0x82799a,
0x00006b,0xa27e65,
0x000080,0x000000,
0x000098,0x37f052,
0x0000b5,0x04f334,
0x0000d7,0x44fccb,
0x000100,0x000000,
0x000130,0x6fe0a3,
0x00016a,0x09e668,
0x0001ae,0x89f996,
0x000200,0x000000,
0x000260,0xdfc146,
0x0002d4,0x13ccd0,
0x00035d,0x13f32b,
0x000400,0x000000,
0x0004c1,0xbf828c,
0x0005a8,0x2799a0,
0x0006ba,0x27e657,
0x000800,0x000000,
0x000983,0x7f0519,
0x000b50,0x4f3340,
0x000d74,0x4fccad,
0x001000,0x000000,
0x001306,0xfe0a32,
0x0016a0,0x9e667f,
0x001ae8,0x9f995b,
0x002000,0x000000,
0x00260d,0xfc1463,
0x002d41,0x3cccfe,
0x0035d1,0x3f32b6,
0x004000,0x000000,
0x004c1b,0xf828c7,
0x005a82,0x7999fd,
0x006ba2,0x7e656b,
0x008000,0x000000,
0x009837,0xf0518e,
0x00b504,0xf333fa,
0x00d744,0xfccad7,
0x010000,0x000000,
0x01306f,0xe0a31b,
0x016a09,0xe667f4,
0x01ae89,0xf995ad,
0x020000,0x000000,
0x0260df,0xc14637,
0x02d413,0xcccfe7,
0x035d13,0xf32b5a,
0x040000,0x000000,
0x04c1bf,0x828c6e,
0x05a827,0x999fcf,
0x06ba27,0xe656b5,
0x080000,0x000000,
0x09837f,0x0518dc,
0x0b504f,0x333f9e,
0x0d744f,0xccad6a,
0x100000,0x000000,
0x1306fe,0x0a31b7,
0x16a09e,0x667f3c,
0x1ae89f,0x995ad4,
0x200000,0x000000,
0x260dfc,0x14636e,
0x2d413c,0xccfe78,
0x35d13f,0x32b5a7,
0x400000,0x000000,
0x4c1bf8,0x28c6dc
};